//
//  WBStatusToolBar.swift
//  Weibo
//
//  Created by yinbo on 2018/3/22.
//  Copyright © 2018年 yinbo. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {
    var viewModel:WBStatusViewModel?{
        didSet{
            retweetedButton.setTitle(viewModel?.retweetedStr, for: [])
            commonButton.setTitle(viewModel?.commentStr, for: [])
            likeButton.setTitle(viewModel?.likeStr, for: [])
        }
    }
    @IBOutlet weak var retweetedButton: UIButton!
    @IBOutlet weak var commonButton: UIButton!
    @IBOutlet weak var likeButton: UIButton!
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
